# Pic18_C_Rotary_Encoder

C rotary encoder function for a Pic18 based off http://www.eevblog.com/forum/projects/rotary-encoders-new-polling-and-pin-interrupt-servicing-routines/msg1416552/ Built with Pic18F4550.


MPLAB Product Version: MPLAB X IDE v4.05.
Compiler: XC8

# How to use

Make a new project in Pic18 (see MPLAB_XC8_Getting_Started_Guide.pdf)
Add main.c and main.h

Connect up programmer (I used a PicKit3) to dev board (I used SBC44UC from
modtronix).

Connect LEDs to appropriate output pins (see code).

Use debugger as needed.
